<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>

<script type="text/javascript">
$(document).ready(function(){
	$("#superiorOrgId").click(function(){
		$(this).parent().find("input").each(function(){
			$(this).val("");
		});
	});
});
</script>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
</head>
<body>
<div class="pageContent">
  <form method="post" action="${path }/resource/noticeAction!saveNotice.action" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);" novalidate="novalidate" class="pageForm required-validate">
  <input type="hidden" name="navTabId" value="${ navTabId }"/>
  <div class="pageFormContent" layoutH="56">
      <div>
     
	   <input type="hidden" name="notice.id" value="${notice.id}"/>
	   <input type="hidden" name="notice.isDeleted" value="${notice.isDeleted}"/>
	   <input type="hidden" name="notice.createUserId" value="${notice.createUserId}"/>
	    <input type="hidden" name="notice.status" value="${notice.status}"/>
        <div class="tip"><span>论文基本信息</span></div>
			
			
			
			<p>
				<label>标题：</label>
				<input type="text"   name="notice.title" maxlength="70" value="${ notice.title }" />
			</p>
			<p>
				<label>发布人：</label>
				<input type="text"    name="notice.releasePerson" maxlength="70" value="${ notice.releasePerson}" />
			</p>
			<p>
				<label>发布日期：</label>
				<input type="text" name="notice.releaseTime"  id="d1" style="width: 170px;" onFocus="WdatePicker({minDate:'2000-01-01'})"  readonly="readonly" value="<fmt:formatDate value="${notice.releaseTime}" pattern="yyyy-MM-dd" />" />
				<a class="inputDateButton" href="javascript:;" >选择</a>
			</p>
			<p>
				<label>通知分类：</label>
				<select class="required" name="notice.type" rel="iselect" loadUrl="${path}/hpin/sysDictType!treeRegion.action?defaultID=10518">
					<option value="${notice.type }">${notice.type }</option>
				</select>
			</p>
			<div class="tip"><span>内容：</span></div>
		  	  	<div>
			  		<textarea class="editor" name="notice.content" rows="20" cols="110"   tools="full" skin="vista" 
		  				upImgUrl="${path}/servlet/xheditorUpload?flag=img" upImgExt="jpg,jpeg,gif,png">${notice.content }</textarea>
        	</div>	
			 <div class="tip"><span>附件上传：</span></div>	
	 		<p class="attachment">
	          <label>附件：</label>
	          <hpin:attachment name="notice.attachment" property="notice.attachment" scope="request" idField="notice.attachment" appCode="publics" />
	        </p>
	        <div class="tip"><span>备注：</span></div>	
			<p id="reamark" class="nowrap">
				<label>备注：</label>
				<textarea cols="35" rows="2" name="notice.remark" maxlength="1000" style="width:570px;">${ notice.remark }</textarea>
			</p>
			
		</div>
    <div class="formBar" style="width:98%">
      <ul>
        <li>
          <div class="buttonActive">
            <div class="buttonContent">
              <button type="submit">保存</button>
            </div>
          </div>
        </li>
        <li>
          <div class="button">
            <div class="buttonContent">
              <button type="reset">重置</button>
            </div>
          </div>
        </li>
        <li>
          <div class="button">
            <div class="buttonContent">
              <button type="button" class="close">关闭</button>
            </div>
          </div>
        </li>
      </ul>
    </div>
    </div>
   <div class="formBar" style="width:98%">
      <ul>
        <li>
          <div class="buttonActive">
            <div class="buttonContent">
              <button type="submit">保存</button>
            </div>
          </div>
        </li>
        <li>
          <div class="button">
            <div class="buttonContent">
              <button type="reset">重置</button>
            </div>
          </div>
        </li>
        <li>
          <div class="button">
            <div class="buttonContent">
              <button type="button" class="close">关闭</button>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </form>
  
</div>
 
</body>
</html>